package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("mall_books_specification")
public class MallBooksSpecificationDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 书籍信息ID */
    @TableField("mall_books_id")
    private Long mallBooksId;
    /** 成本价 */
    @TableField("cost_price")
    private BigDecimal costPrice;
    /** 普通用户价格 */
    @TableField("price")
    private BigDecimal price;
    /** vip用户价格 */
    @TableField("vip_price")
    private BigDecimal vipPrice;
    /** 库存 */
    @TableField("inventory")
    private Long inventory;
    /** 规格 */
    @TableField("specification")
    private String specification;
    /** 商品编号 */
    @TableField("commodity_num")
    private String commodityNum;
    /** 体积m³ */
    @TableField("volume")
    private BigDecimal volume;
    /** 重量KG */
    @TableField("weight")
    private BigDecimal weight;
}
